package com.zretc.entity;

public class CommentInfo {

	private String commentId;
	private String commentTime;
	private String commentContent;
	private String commentScore;
	private OrderInfo orderInfo; //关联对象订单表
	private UserInfo userInfo;  //关联对象用户表
	private CommentRelation commentRelation;  // 关联对象关系表
	public CommentInfo() {
		super();
	}
	public CommentInfo(String commentId, String commentTime, String commentContent, String commentScore,
			OrderInfo orderInfo, UserInfo userInfo, CommentRelation commentRelation) {
		super();
		this.commentId = commentId;
		this.commentTime = commentTime;
		this.commentContent = commentContent;
		this.commentScore = commentScore;
		this.orderInfo = orderInfo;
		this.userInfo = userInfo;
		this.commentRelation = commentRelation;
	}
	public String getCommentId() {
		return commentId;
	}
	public void setCommentId(String commentId) {
		this.commentId = commentId;
	}
	public String getCommentTime() {
		return commentTime;
	}
	public void setCommentTime(String commentTime) {
		this.commentTime = commentTime;
	}
	public String getCommentContent() {
		return commentContent;
	}
	public void setCommentContent(String commentContent) {
		this.commentContent = commentContent;
	}
	public String getCommentScore() {
		return commentScore;
	}
	public void setCommentScore(String commentScore) {
		this.commentScore = commentScore;
	}
	public OrderInfo getOrderInfo() {
		return orderInfo;
	}
	public void setOrderInfo(OrderInfo orderInfo) {
		this.orderInfo = orderInfo;
	}
	public UserInfo getUserInfo() {
		return userInfo;
	}
	public void setUserInfo(UserInfo userInfo) {
		this.userInfo = userInfo;
	}
	public CommentRelation getCommentRelation() {
		return commentRelation;
	}
	public void setCommentRelation(CommentRelation commentRelation) {
		this.commentRelation = commentRelation;
	}
	@Override
	public String toString() {
		return "CommentInfo [commentId=" + commentId + ", commentTime=" + commentTime + ", commentContent="
				+ commentContent + ", commentScore=" + commentScore + ", orderInfo=" + orderInfo + ", userInfo="
				+ userInfo + ", commentRelation=" + commentRelation + "]";
	}
	
}
